import request from '@/utils/request'

// 查看数据库表信息
export function showAllTables(searchParams) {
    return request({
        url: '/tool/showAllTables',
        method: 'post',
        data: searchParams
    })
}

// 生成代码
export function generateCode(data) {
    return request({
        url: '/tool/generateCode',
        method: 'post',
        responseType: 'blob',
        contentType:'application/zip',
        data
    })
}

